/**
 * Labox有限公司项目InnovationServer
 * Labox版权所有 @copyright 2009
 * @javaclass LoginPacketHelper.java @author 丁宁 @time 2009-11-27
 */
package labox.innovation.loginserver.http;

import java.io.IOException;
import java.net.InetAddress;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;

/**
 * @author Administrator
 *
 */
public class LoginPacketHelper extends AbstractHttpServer {
	
	public static void main(String[] s){
		try {
			new LoginPacketHelper(null,80).start();
		} catch (IOException e) {
			e.printStackTrace();
		}
		
	}

	
	public LoginPacketHelper(InetAddress address, int tcpPort) throws IOException{
		super(address,tcpPort,new LoginPackerHandler(),"/",new ThreadPoolExecutor(4, 6, 15L, TimeUnit.SECONDS, new LinkedBlockingQueue<Runnable>(5)));
	}
}
